import {legacy_createStore,combineReducers,applyMiddleware} from "redux"
import thunk from "redux-thunk"
import logger from "redux-logger"
import reducer from './reducer/reducer'

let all = combineReducers({
    reducer
})

export default legacy_createStore(all,applyMiddleware(thunk,logger))